<extend name="public:base"/>

<block name="left"></block>

<block name="main">

    <div class="ac_slide" id="ac_slide">
        <ul class="bd">
            <volist name="ads" id="v">
                <li>
                    <a href="{$v.url|default='/'}">
                        <img src="{$v.cover_id|get_cover='path'}" width="100%"/>
                    </a>
                </li>
            </volist>
        </ul>
        <ul class="hd">
            <volist name="ads" id="v" key="i">
                <li>{$i}</li>
            </volist>
        </ul>
    </div>

    <div class="feature">
        <a href="{:url('index/about/index')}">
            <dl>
                <dt class="feature_1"></dt>
                <dd>关于我们</dd>
            </dl>
        </a>
        <a href="{:url('index/about/index')}">
            <dl>
                <dt class="feature_2"></dt>
                <dd>安全保障</dd>
            </dl>
        </a>
        <a href="{:url('user/promote/index')}">
            <dl>
                <dt class="feature_3"><i></i></dt>
                <dd>邀请有礼</dd>
            </dl>
        </a>
        <a href="{:url('index/invest/index')}">
            <dl>
                <dt class="feature_4"></dt>
                <dd>精选项目</dd>
            </dl>
        </a>
    </div>
    <div class="notice">
        <a href="{:url('index/article/lists', ['cid'=>8],true,true)}" class="marks fl">&nbsp;</a>
        <div class="slidenotice">
            <notempty name="notice">
                <ul class="fl bd">
                    <volist name="notice" id="v">
                        <li>
                            <a href="{:url('index/article/detail', ['id'=>$v['id']],true,true)}">{$v.title|mb_substr=0,15,'utf-8'}</a>
                        </li>
                    </volist>
                </ul>
            </notempty>
        </div>
        <div class="cl"></div>
    </div>

    <volist name="borrows" id="v" key="i">
        <div class="new_borrow">
            <div class="title">{$v.borrow_name}</div>
            <a href="{:url('index/invest/detail',['id'=>$v.id])}" class="new_detail">
                <div class="name">{$v.borrow_name}</div>
                <!--<div class="name">新手标 NO.{$v.id}</div>-->
                <!--<span class="newerTips">新手加息{$v.borrow_interest_rate}%</span>-->
                <div class="borrow_number">
                    <p><span>{$v.borrow_interest_rate}</span>%</p>
                    <p>约定收益率</p>
                </div>
                <div class="borrow_other">
                    <span>借款期限：<i>{$v.borrow_duration}天</i></span>
                    <span>已投 <i>72.47%</i></span>

                </div>
                <div class="borrow_other">
                    <span>还款方式： <i>一次性还本付息</i></span>
                </div>
                <div class="borrow_btn">
                    <span>立即加入</span>
                </div>
            </a>
        </div>
    </volist>


    <!--<div class="new_borrow">
        <div class="title">新手专享加息</div>
        <a href="{:url('index/invest/detail',['id'=>1])}" class="new_detail">
            <div class="name">新手专享加息</div>
            &lt;!&ndash;<div class="name">新手标 NO.{$v.id}</div>&ndash;&gt;
            <span class="newerTips">新手加息8%</span>
            <div class="borrow_number">
                <p><span>10</span>.4%</p>
                <p>过往年化收益率</p>
            </div>
            <div class="borrow_other">
                <span>借款期限：<i>60天</i></span>
                <span>已投 <i>80%</i></span>
                <span>剩余可投 <i>10000元</i></span>
            </div>
            <div class="borrow_btn">
                <span>立即投资</span>
            </div>
        </a>
    </div>-->

    <!--2018.4.27信息披露-->
    <div class="indexPublish">
        <a href="{:url('publish/index/index')}">
            <p>精选项目</p>
            <p class="a999">积极落实合规资质，做最透明的平台</p>
            <i class="iconfont">&#xe611;</i>
        </a>
    </div>
    <div class="indexLastTips">轻松投资，无微不至</div>

    <div class="f_bar_fix"></div>
</block>

<block name="js">
    <script type="text/javascript" src="__JS__/TouchSlide.1.1.js"></script>
    <script type="text/javascript" src="__JS__/jquery.SuperSlide.2.1.js"></script>
    <script type="text/javascript">
        $(function () {

            TouchSlide({
                slideCell: "#ac_slide",
                effect: "left",
                autoPlay: true
            });

            $('.hd').css('margin-left', -$('.hd').width() / 2);

            $('.notice').slide({
                mainCell: 'ul',
                effect: 'topLoop',
                autoPlay: true
            });

        })
    </script>
</block>